const mongoose = require('mongoose')

let BookSchema = new mongoose.Schema({
  name: {
    type: String,
    unique: false
  },
  author: String,
  price: Number
})
let BookModel = mongoose.model('books', BookSchema)

module.exports = BookModel
